package ucd.csi.comp30290.fall2011.ebbt;

/**
 * One invocation can not cover all branches as a > b cannot be true if a <= b
 * 
 * @author David Harrison
 */
public class SimpleBlackBox implements BlackBox {

    public double[] calculate(
            double a, double b, double c, double d, double e, double f) 
    {
        double[] vals = new double[5];
        if (a > b) 
            vals[0] = 1;
        if (a > c)
            vals[1] = 1;
        if (a > d)
            vals[2] = 1;
        if (a > e)
            vals[3] = 1;
        if (a > f)
            vals[4] = 1;
        return vals;
    }

}
